package edu.sctu.practice.class02.lvchang.textSort;
import java.util.Arrays;

/**
 * Created by Administrator on 2015/9/18.
 */
public class Textone1 {
    public void Rank(){

        int a[] ={6,5,4,9,8,7,3,1,2};
        Arrays.sort(a);
        System.out.print("\nAfter sort:");
        for(int i=0;i<a.length;i++)
            System.out.print(a[i]+" ");
        System.out.print("\n");
    }
}
